﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace FRL.DebtChased.Silverlight.Library
{
    public partial class UserCommisionTotalCtrl : UserControl
    {
        public UserCommisionTotalCtrl()
        {
            InitializeComponent();
        }

        private void DropButton_Click(object sender, EventArgs e)
        {
            if (DropButton.IsUpsideDown)
            {
                CommisionStatsGrid.Visibility = System.Windows.Visibility.Visible;
                DropButton.IsUpsideDown = false;
            }
            else
            {
                CommisionStatsGrid.Visibility = System.Windows.Visibility.Collapsed;
                DropButton.IsUpsideDown = true;
            }
        }
    }
}
